package comp.wxapi.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.*;

import javax.persistence.*;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * This code is generated
 */
@Entity
@javax.persistence.Table(name="wx_access_token")
public class AccessToken implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	@Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid2")
	@Column(name = "id"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String id ;

	@Column(name = "create_time"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.LongType")
private Long create_time ;

	@Column(name = "access_token"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String access_token ;

	@Column(name = "expires_in"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.LongType")
private Long expires_in ;

	@Column(name = "appid"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String appid ;
	public String getId() {
			return id;
		
	}

	public void setId(String id) {
		this.id = id;
	}

	public Long getCreate_time() {
			return create_time;
		
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}

	public String getAccess_token() {
			return access_token;
		
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public Long getExpires_in() {
			return expires_in;
		
	}

	public void setExpires_in(Long expires_in) {
		this.expires_in = expires_in;
	}

	public String getAppid() {
			return appid;
		
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}
}
